{template 'header'}
<style>
</style>
<div class="m0">
<div class="m">
<div class="im0">
<div class="im0l">
<!--[行业分类]-->
{php $mid = isset($MODULE[16]) ? 16 : 5;}
{php $c0 = get_maincat(0, $mid, 1);}
<ul>
{loop $c0 $k0 $v0}
{if $k0 < 9 && $v0[child]}
{php $_c1 = get_maincat($v0[catid], $mid, 2);}
{php $c1 = get_maincat($v0[catid], $mid);}
<li class="cate-{$k0}"><i>&gt;</i>
<a href="{$MODULE[$mid][linkurl]}{$v0[linkurl]}" target="_blank"><strong>{$v0[catname]}</strong></a> 
{if $_c1}
<a href="{$MODULE[$mid][linkurl]}{$_c1[0][linkurl]}" target="_blank"><strong>{$_c1[0][catname]}</strong></a>
{else}
<a href="{$MODULE[$mid][linkurl]}{$c1[0][linkurl]}" target="_blank"><strong>{$c1[0][catname]}</strong></a>
{/if}
<div>
{loop $c1 $k1 $v1}
<dl>
<dt><a href="{$MODULE[$mid][linkurl]}{$v1[linkurl]}" target="_blank">{set_style($v1[catname], $v1[style])}</a></dt>
{if $v1[child]}
{php $c2 = get_maincat($v1[catid], $mid);}
<dd>
{loop $c2 $k2 $v2}
{if $k2}<em>|</em>{/if}<a href="{$MODULE[$mid][linkurl]}{$v2[linkurl]}" target="_blank">{set_style($v2[catname], $v2[style])}</a>
{/loop}
</dd>
{/if}
</dl>
{/loop}
</div>
</li>
{/if}
{/loop}
</ul>
</div>
<div class="im0m">
	<div>{ad(14)}</div>
</div>
<div class="im0r" style="background:rgb(0,121,194)">
	<div class="im0u" style="background:rgb(0,121,194)">
		<div class="user-info" style="background:rgb(0,121,194)">
		<script type="text/javascript">
		var destoon_uname = get_cookie('username');
		document.write('<a href="{$MODULE[2][linkurl]}avatar.php"><img src="'+DTPath+'api/avatar/show.php?size=large&reload={DT_TIME}&username='+destoon_uname+'"/></a>');
		document.write('<ul>');
		if(get_cookie('auth')) {
			document.write('<li><em><a href="{$MODULE[2][linkurl]}logout.php">退出</a></em><a href="{$MODULE[2][linkurl]}"><strong>Hi,'+destoon_uname+'</strong></a></li>');
		} else {
			if(destoon_uname) {
				document.write('<li><em><a href="{$MODULE[2][linkurl]}{$DT[file_login]}">登录</a></em><a href="{$MODULE[2][linkurl]}"><strong>Hi,'+destoon_uname+'</strong></a></li>');
			} else {
				document.write('<li><em><a href="{$MODULE[2][linkurl]}{$DT[file_register]}">注册</a></em><a href="{$MODULE[2][linkurl]}{$DT[file_login]}"><strong>Hi,请登录</strong></a></li>');
			}
		}
		document.write('<li><a href="{$MODULE[2][linkurl]}" class="b">会员中心</a><i>|</i><a href="{$MODULE[2][linkurl]}{$DT[file_my]}" class="b">发布信息</a><i>|</i><a href="{$MODULE[2][linkurl]}biz.php" class="b">商户后台</a></li>');
		document.write('</ul>');
		function AutoScroll(obj){
			$(obj).find("ul:first").animate({
				marginTop:"-25px"
				},500,function(){
				$(this).css({marginTop:"0px"}).find("li:first").appendTo(this);
			});
		}
		$(document).ready(function(){
			setInterval('AutoScroll("#scrollDiv")',2000)
		});
		</script>
		</div>
		<style>
			.cp_list_info{ width:100%; height:160px; color:#fff; overflow:hidden;}
			.cp_list_info dl { width:94%; margin:10px 3% 0px 3%}
			.cp_list_info dl dd{ width:33%;float:left; height:85px; margin:0px; text-align:center; line-height:180%; font-size:15px;}
			#scrollDiv{width:252px; margin-left:20px; height:25px;line-height:25px;overflow:hidden}
			#scrollDiv li{height:25px;padding-left:10px;}
			#scrollDiv a{ color:#fff; font-size:14px;}
		</style>
		<div class="cp_list_info">
			<dl>
				<!--<dd>产品/个<br>{$count_data['mall']}</dd>-->
				<dd>企业/个<br>{$count_data['company']}</dd>
				<dd>展会/个<br>{$count_data['exhibit']}</dd>
				<dd>咨询/个<br>{$count_data['know']}</dd>
				<dd>需求/个<br>{$count_data['buy']}</dd>
				<dd>方案/个<br>{$count_data['fn']}</dd>
				<div style="clear:both"></div>
			</dl>
		</div>
		<div id="scrollDiv">
			<div style="width:50px; margin-left:3%; height:30px; color:#fff;float:left; font-size:14px;">[公告]</div>
			<ul>
				{loop $announce_list $key $value}
				<li><a href="{$value['linkurl']}">{$value['title']}</a></li>
				{/loop}
			</ul>
		</div>
	</div>
</div>
<div class="c_b"></div>
</div>
</div>
</div>

<div class="m">
	<div class="ads_i_1">{ad(26)}</div>
	<div class="ads_i_2">
		{ad(24)}
		{ad(23)}
		{ad(22)}
		{ad(21)}
		{ad(25)}
		<div class="clear"></div>
	</div>
</div>
<!--
<div class="m">
	<div class="mall_lists">
		<dt><a href="/mall" style="float:right; margin:10px; font-size:14px;">+更多</a><span>产品商城</span></dt>
		<dl>
			{loop $mall_list $key $value}
			<dd>
				<a href="/mall/{$value['linkurl']}">
					<div class="imgs"><img src="{$value['thumb']}"></div>
					<span>{$value['title']}</span>
				</a>
			</dd>
			{/loop}
		</dl>
	</div>
</div>-->

<div class="m" style=" padding-top:40px;">
	<div class="zn_lists">
		<dt><a href="/company" style="float:right; margin:10px; font-size:14px;">+更多</a><span>智能企业</span></dt>
		<dl>
			{loop $company_list $key $value}
			<dd>
				<a href="{$value['linkurl']}">
					<div class="imgs"><img src="{$value['thumb']}"></div>
					<span>{$value['company']}</span>
				</a>
			</dd>
			{/loop}
		</dl>
	</div>
	
	<div class="hy_lists">
		<dt><a href="/zr" style="float:right; margin:10px; font-size:14px;">+更多</a><span>行业人物</span></dt>
		<div class="hy_data_list">
			{loop $renwu_list $key $value}
			<div class="hy_data_lists">
				<div class="hy_tx"><img src="{$value['thumb']}"></div>
				<div class="hy_tx_txt"><a href="/zr/{$value['linkurl']}">{$value['renwuzhiwei']}-{$value['renwuname']}</a></div>
				<div class="hy_tx_txt" style="margin-top:0px;font-size:15px;"><a href="/zr/{$value['linkurl']}">{$value['title']}</a></div>
				<div class="hy_tx_desc">
					{$value['keyword']}
				</div>
			</div>
			{/loop}
		</div>
	</div>
</div>

<div class="m" style="padding-top:40px;">
	<div class="ads_i_1">{ad(27)}</div>
</div>

<div class="m" style=" padding-top:30px;">
	<div class="zganhui_lists">
		<dt><a href="/exhibit" style="float:right; margin:10px; font-size:14px;">+更多</a><span>智能展会</span></dt>
		<dl>
			{loop $zhan_list $key $value}
			<dd>
				<div class="imgs"><img src="{$value['thumb']}"></div>
				<div class="titles"><a href="/exhibit/{$value['linkurl']}">{$value['title']}</a></div>
				<div class="descs"><a href="/exhibit/{$value['linkurl']}">{$value['keyword']}</a></div>
				<div class="attrs"><span>展会时间：</span><?php echo date("Y-m-d",$value['fromtime']);?> - <?php echo date("Y-m-d",$value['totime']);?> <span>展会地址：</span>{$value['hallname']}</div>
			</dd>
			{/loop}
			<div class="clear"></div>
		</dl>
	</div>
	<div class="hy_lists">
		<dt><a href="/news" style="float:right; margin:10px; font-size:14px;">+更多</a><span>产业资讯</span></dt>
		<div class="hy_data_list">
			<ul>
				{loop $zx_list $key $value}
				<li><span><?php echo date("Y-m-d",$value['edittime']);?></span><a href="/news/{$value['linkurl']}">{$value['title']}</a></li>
				{/loop}
			</ul>
		</div>
	</div>
</div>

<div class="m" style="padding-top:20px;">
	<div class="ads_i_1">{ad(28)}</div>
</div>

<div class="m" style=" padding-top:30px;">
	<div class="zixun_lists">
		<dt><a href="/know" style="float:right; margin:10px; font-size:14px;">+更多</a><span>产业咨询</span></dt>
		{loop $wd_list $key $value}
		<dl>
			<dd>
				<a class="wd_icon" style="background:rgb(254,149,4)">问</a>
				<div class="txts"><a href="/know/{$value['linkurl']}">{$value['title']}</a></div>
				<div class="times">{$value['username']} <?php echo date("Y-m-d H:i" , $value['addtime']);?></div>
			</dd>
			<dd>
				<a class="wd_icon" style="background:rgb(146,184,1)">答</a>
				<div class="txts">{$value['content']}</div>
				<div class="times">{$value['a_name']} <?php echo date("Y-m-d H:i" , $value['u_addtime']);?></div>
			</dd>
		</dl>
		{/loop}
		<div class="clear"></div>
	</div>
	<div class="hy_lists">
		<dt><a href="" style="float:right; margin:10px; font-size:14px;">+更多</a><span>专题</span></dt>
		<div class="hy_data_list" style="height:494px">
			{loop $zt_list $key $value}
			<div class="zhuanti_list">
				<div class="imgs">
					<img src="{$value['thumb']}">
				</div>
				<div class="text1"><a href="/special/{$value['linkurl']}">{$value['title']}</a></div>
				<div class="text2">浏览：{$value['hits']} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;时间：<?php echo date("Y-m-d", $value['addtime']);?></div>
			</div>
			{/loop}
		</div>
	</div>
</div>

<div class="m" style="padding-top:20px;">
	<div class="ads_i_1">{ad(29)}</div>
</div>

<div class="m" style=" padding-top:30px;">
	<div class="tupian_lists">
		<dt  style="float:unset;"><a href="/pic" style="float:right; margin:10px; font-size:14px;">+更多</a><span>图库</span></dt>
		<dl>
			<div id="example5" class="slider-pro">
				<div class="sp-slides">
					{loop $resut_img $key $value}
					<div class="sp-slide">
						<img class="sp-image" src="{$value['pic']}" />
					</div>
					{/loop}
				</div>

				<div class="sp-thumbnails">
					{loop $resut_img $key $value}
					<div class="sp-thumbnail">
						<div class="sp-thumbnail-image-container">
							<img class="sp-thumbnail-image" src="{$value['pic']}" />
						</div>
					</div>
					{/loop}
				</div>
			</div>
		</dl>
	</div>
</div>
<script type="text/javascript" src="{DT_STATIC}file/script/jquery.sliderPro.min.js"></script>
<script type="text/javascript">
	$(document).ready(function ($) {
		$('#example5').sliderPro({
			width: 1200,
			height: 530,
			orientation: 'vertical',
			loop: false,
			arrows: true,
			buttons: false,
			thumbnailsPosition: 'left',
			thumbnailPointer: true,
			thumbnailWidth: 220,
			thumbnailHeight: 110
		});
	});
</script>
{template 'footer'}